x11: Store the EGL surface in the GdkSurfaceX11
authorBenjamin Otte <otte@redhat.com>
Thu, 10 Jun 2021 21:10:22 +0000 (23:10 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 22 Jul 2021 14:06:05 +0000 (16:06 +0200)
commitb1fbc2ef24596ab72cd45811d99f6f896f5f773d
treefb9a9384cf67f04fdce5e34c8e5a81ee143793db
parentc787fe7ecb87329aabbce504f1e7f6ee8e2a67ef
x11: Store the EGL surface in the GdkSurfaceX11

Avoids having to use private data, though the benefit is somewhat
limited as we still have to put the destructor in the egl code and can't
just put it in gdk_surface_x11_finalize().
gdk/x11/gdkglcontext-egl.c
gdk/x11/gdkglcontext-x11.h
gdk/x11/gdksurface-x11.c
gdk/x11/gdksurface-x11.h